//C11:11.12-2:test_fit.c
#include <stdio.h>

void fit(char *string, unsigned int size)
{
	if(strlen(string) > size)
	{
		*(string + size) = '\0';
	}
}
